package com.sunshine.lnuplusweb.dao;

import com.sunshine.lnuplusweb.entities.WhatToDo2021;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Mapper
public interface WhatToDo2021Mapper {
    //获取所有“做什么”实体
    List<WhatToDo2021> getAll();

    //获取所有“做什么”内容
    List<String> getAllContent();

    //插入“做什么”
    void insert(@Param("userId") String userId, @Param("content") String content);
}
